package net.mujiwulian.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

@Data
@TableName(value = "person")
public class Person implements Serializable {
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @TableField(value = "邮箱")
    private String email;

    @TableField(value = "性别")
    private String sex;

    @TableField(value = "年龄")
    private Integer age;

    @TableField(value = "名字")
    private String name;

    private static final long serialVersionUID = 1L;

    public static final String COL_EMAIL = "email";

    public static final String COL_SEX = "sex";

    public static final String COL_AGE = "age";

    public static final String COL_NAME = "name";
}